package cz.muni.fi.pa165.soap;

import cz.muni.fi.pa165.dto.EmployeeDTO;
import java.util.List;
import javax.jws.WebParam;
import javax.jws.WebService;

/**
 *
 * @author <a href="mailto:vramik at redhat.com">Vlastislav Ramik</a>
 */
@WebService
public interface EmployeeSoapService {
    public EmployeeDTO getEmployee(@WebParam(name="id") Long id);
    public List<EmployeeDTO> getEmployees();
    public Long createEmployee(@WebParam(name="employee") EmployeeDTO employee);
    public void removeEmployee(@WebParam(name="employee") EmployeeDTO employee);
    public void updateEmployee(@WebParam(name="employee") EmployeeDTO employee);
}